package com.ap.core.domain;

import org.hibernate.annotations.TypeDef;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * User: Gibu.Paul
 */
@Entity
@Table(name = "T_REFUND_REASON")
@AttributeOverride(name = "id", column = @Column(name = "REFUND_REASON_CODE"))
@TypeDef(name = "id", typeClass = String.class)
public class RefundReason extends Identifiable<String> {

	private static final long serialVersionUID = -8048072031566387989L;

	@Column(name = "REFUND_REASON_NAME")
	private String refundReasonName;

	@Column(name = "REFUND_REASON_DESCRIPTION")
	private String refundReasonDescription;

	private RefundReason() {
	}

	public String getRefundReasonName() {
		return refundReasonName;
	}

	public void setRefundReasonName(String refundReasonName) {
		this.refundReasonName = refundReasonName;
	}

	public String getRefundReasonDescription() {
		return refundReasonDescription;
	}

	public void setRefundReasonDescription(String refundReasonDescription) {
		this.refundReasonDescription = refundReasonDescription;
	}

}
